home *** CD-ROM | disk | FTP | other *** search
- Path: grafix.xs4all.nl!john.hendrikx
- Date: Fri, 12 Jan 96 00:30:03 GMT+1
- Newsgroups: comp.sys.amiga.programmer
- Distribution: world
- Subject: Re: Protection bits
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- From: john.hendrikx@grafix.xs4all.nl (John Hendrikx)
- Message-ID: <john.hendrikx.45js@grafix.xs4all.nl>
- Organization: Grafix Attack BBS Holland
-
- In a message of 09 Jan 96 Michael Van Elst wrote to All:
-
- >> Maybe the filesystem could be extended with somekind of hook which sets
- >> the file-type correctly by looking at the first 512-bytes of the file when
- >> it is first written/modified.
-
- MVE> I think that's pretty meaningless. It would help only for searching a
- MVE> disk for files of a specific type and it would generate the bloat and
- MVE> incompatibility of the Mac filesystem.
-
- Bloat, Incompatibility, how so? It is only 1 LONG, and programs should only
- rely on the contents of this LONG if it is non-zero. Any filesystem supporting
- this system would automatically 'set' the LONG to the correct value as soon as
- the file is copied onto the harddisk, so transferring files from one computer
- to another would not require any extra info to be transferred.
-
- I don't see what's so bloated or incompatible.
-
- MVE> If you really want fast redundant information (a cache so to say) then
- MVE> use a cache which can be an ordinary file.
-
- This would take memory instead of 4-bytes of diskspace/file (which you probably
- won't notice as there probably is 4-bytes of free space left in the fileheader
- somewhere).
-
- With ExAll() you could create a Hook which filters out all unwanted files when
- displaying dirs, much faster then having to load the first X bytes of each
- file.
-
- >> This would make doing a directory with FileID's and with only IFF files
- >> in them really fast, like on the MAC's
-
- MVE> Like what ? :)
-
- MAC's? :-)
-
- Grtz John
-
- -----------------------------------------------------------------------
- John.Hendrikx@grafix.xs4all.nl TextDemo/FastView/Etc... development
- -----------------------------------------------------------------------
- -- Via Xenolink 1.981, XenolinkUUCP 1.1
-